
#ifndef __CCmdInnerMarket_h__
#define __CCmdInnerMarket_h__

#include "CTAsyncCmd.h"
#include "commclass.h"
#include "CTKeyValue.h"

enum EN_INNER_MARKET
{
    MARKET_OPT_INFORM_FINISH = 1,
    MARKET_OPT_AWARD_CALLBACK = 2,
    MARKET_OPT_CHECK_COMPLETION = 3,
};

class CMainCtrl;
class CCmdInnerMarket : public CTLib::CTAsyncCmd
{
public:
    CCmdInnerMarket()
    {
        uiGID = 0;
        _ucOpt = 0;
    }

    virtual int Do(void* pData);
    virtual int LogicDo(int iRet);
    virtual int AnsClients(int iRet);

    CMainCtrl* pstMainCtrl;
          
    CTLib::CTKeyValue stHttpReqPara;
    CEnpNetHead stHead;

    unsigned char _ucOpt;
    unsigned int uiGID;
    CTSizeString<1024> _szSendBack;
};

#endif // __CCmdInnerMarket_h__
